package com.springsecuritylearning.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.springsecuritylearning.entity.SysMenuEntity;
import com.springsecuritylearning.mapper.SysMenuMapper;
import com.springsecuritylearning.service.SysMenuService;
import org.springframework.stereotype.Service;

import java.util.Map;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;




@Service("sysMenuService")
public class SysMenuServiceImpl extends ServiceImpl<SysMenuMapper, SysMenuEntity> implements SysMenuService {

    @Override
    public Page<SysMenuEntity> queryPage(Integer currentPage, Integer size, Map<String, Object> params) {

        Page<SysMenuEntity> page = new Page<>(currentPage, size);

        return this.page(page);
    }

}